//
//  dataBaseTool.h
//  webViewLocal
//
//  Created by wjc on 2021/12/2.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
typedef NSString * _Nullable (^setStrBlock)(void);
typedef void (^errorDataBaseBlock)(NSString* errorDes);
@interface dataBaseTool : NSObject
+(NSString*)returnDataBasePath;
+(void)setDataBasePathWithPath:(NSString*)path;
+(void)setDataBaseWithSQLTxt:(setStrBlock)block andFail:(errorDataBaseBlock)error;
+(void)getDataBaseWithSQLTxt:(setStrBlock)block andSuccess:(void(^)(id obj))success andFail:(errorDataBaseBlock)error;
@end

NS_ASSUME_NONNULL_END
